//
//  AwardModel.m
//  HongFuShop
//
//  Created by chirui on 2017/9/29.
//  Copyright © 2017年 Shui. All rights reserved.
//

#import "AwardModel.h"

@implementation AwardModel


-(void)setValue:(id)value forUndefinedKey:(nonnull NSString *)key{

}

+ (NSMutableArray *)parsingDataFromResultData:(NSDictionary *)dic
{
    
    NSMutableArray *dataArray = [[NSMutableArray alloc] init];
    
    NSArray * itemsArray =dic[@"datas"][@"list"];
  
    if ([itemsArray isKindOfClass:[NSArray class]]) {
        for (NSDictionary *appDict in itemsArray) {
            AwardModel *model = [[AwardModel alloc] init];
            [model setValuesForKeysWithDictionary:appDict];
            [dataArray addObject:model];
            
        }
        return dataArray;
    }else{
        
        return nil;
    }
    
}


@end
